body,html,#root,.app{
    height: 100%;

}
.app{
    >div{
        height: 100%;
    }
}
.com_loading{width: 100%;}
.notfound{
    img{
        width: 100%;
    }
}
.login-box {
    text-align: center;
    margin: 20px;
   
    .title {
        font-weight: bold;
        padding: 50px 0;
    }

    .line {
        margin-bottom: 20px;

        input {
            height: 40px;
            width: 100%;
            padding-left: 20px;
            background-color: white;
            border-radius: 5px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }
    }

    .linee {
        input {
            height: 40px;
            width: 100%;
            color: white;
            background-color: rgb(235, 36, 172);
            padding-left: 20px;
            // background-color: white;
            border-radius: 5px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }
    }
}

.Myheader {
    width: 100%;

    .listtop {
        height: 50px;
        text-align: center;
        position: relative;

        h3 {
            width: 100%;
            height: 100%;
        }

        span {
            position: absolute;
            top: -17px;
            font-size: 40px;
            right: 12px;
        }
    }

    .Search {
        width: 100%;
        text-align: center;

        input {
            width: 90%;
            height: 30px;
            border-radius: 5px;
            outline: none;
            border: 1px solid #ccc;
            background-color: white;
            text-align: center;
        }
    }
}

// 列表
.ClassifyList {
    width: 100%;
    display: flex;

    .left {
        width: 20%;
        background-color: aliceblue;

        .btn {
            line-height: 30px;
            text-align: center;
            color: #555;
            border-left: 3px solid transparent;
            margin-bottom: 10px;
        }

        .btn.active {
            color: red;
            background-color: white;
            border-left: 3px solid red;
        }
    }

    .right {
        width: 80%;

        .right_1 {
            width: 100%;

            .rightlist {
                width: 100%;
                display: flex;
                flex-wrap: wrap;

                .rightlist_1 {
                    width: 30%;

                    img {
                        width: 100%;
                    }
                }
            }
        }
    }
}






//底部
.mytabbar {
    .mytabbar_1 {
        background-color: white;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;

    }

}

.myheader {
    width: 100%;
    background-color: red;
    position: fixed;
    top: 0;
    z-index: 1;

    .myheader_top {
        img {
            padding-left: 10px;
            width: 20%;
        }
    }

    .myheader_bottom {
        display: flex;
        padding: 10px;
        align-items: center;

        input {
            flex: 1;
            height: 30px;
            border-radius: 5px;
            outline: none;
            border: 1px solid #ccc;
            background-color: white;
            text-align: center;
        }

        span {
            width: 80px;
            text-align: center;
        }
    }

}

.myswiper {
    width: 100%;
    margin-top: 110px;

    img {
        width: 100%;
    }
}

.mycatelist {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;

    .cate {
        width: 20%;
        margin-bottom: 15px;
        text-align: center;

        img {
            width: 80%;
            border-radius: 50%;
        }
    }
}

.myspike {
    width: 100%;

    img {
        width: 100%;
    }
}


.MySeckill {
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .MySeckill_1 {
        width: 30%;
        text-align: center;
        margin-bottom: 10px;

        img {
            width: 80%;
        }

        .name {
            font-size: 14px;
            text-align: center;
            width: 60%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-left: 10px;
        }

        .P1 {
            margin: auto;
            width: 60px;
            color: red;
            font-size: 12px;
            background-color: rgb(145, 98, 98);
        }

        .p2 {
            color: red;
            font-size: 12px;

            span {
                font-size: 16px;

            }
        }
    }
}


//购物车
.shoppcat{
    *{
        margin: 0;
        padding: 0;
      }
      
      .Myheader{
        width: 100%;
        .listtop{
            height: 50px;
            text-align: center;
            position: relative;
            h3{
                width: 100%;
                height: 100%;
            }
            span{
                position: absolute;
                top: -17px;
                font-size: 40px;
                right: 12px;
            }
        }
        .Search{
          width: 90%;
          margin: auto;
          display: flex;
          justify-content: space-between;
        }
      }
      
      .shopplist{
        width: 94%;
        margin: auto;
        .shopplist_one{
          width: 100%;
          display: flex;
          justify-content: space-between;
          margin-top: 10px;
          background-color: #ccc;
          border-radius: 5px;
          .shopplist_one_left{
            width: 37%;
            height: 90px;
            display: flex;
            justify-content: space-around;
            margin-top: 20px;
            .shopplist_one_input{
              display: flex;
              justify-content: center;
              align-items: center;
            }
            .imgbox{
              width: 120px;
              img{
                width: 100%;
              }
            }
          }
          .shopplist_one_right{
            flex: 1;
            .name{
              font-size: 16px;
              margin-top: 10px;
              font-weight: bold;
            }
            .p2{
              font-size: 18px;
              font-weight: bold;
            }
            .p3{
              width: 50px;
              height: 16px;
              margin-top: 10px;
              line-height: 16px;
              font-size: 12px;
              text-align: center;
              color: rgb(228, 16, 179);
              padding: 0 2px;
              border-radius: 2px;
              border: 1px solid rgb(235, 77, 88);
            }
            .Preferential{
              width: 150px;
              color: rgba(211, 74, 16, 0.881);
              background-color: rgb(118, 92, 75);
              font-size: 14px;
              height: 16px;
              text-align: center;
              line-height: 16px;
              border-radius: 8px;
              border: 1px solid rgb(118, 92, 75);
              margin-top: 10px;
            }
            .time{
              width: 120px;
              height: 18px;
              text-align: center;
              line-height: 18px;
              color: red;
              font-size: 14px;
              background-color: rgba(229, 115, 115, 0.708);
              margin-top: 10px;
            }
            .money{
              width: 100%;
              display: flex;
              justify-content: space-between;
              margin-top: 10px;
              p{
                color: red;
                font-size: 20px;
              }
              .anniu{
                display: flex;
      
                button{
                  width: 25px;
                  height: 25px;
                }
                p{
                  width: 30px;
                  height: 23px;
                  text-align: center;
                  line-height: 25px;
                  border: 1px solid gray;
                }
              }
      
            }
            .xiangou{
              color: red;
              float: right;
            }
          }
          
        }
      }
      
      .settlement{
        width: 100%;
        height:60px;
        text-align: center;
        line-height: 60px;
        position: fixed;
        bottom: 48px;
        background-color: white;
      }
      .settlement_1{
        width: 90%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        .settlement_right{
          width: 200px;
          display: flex;
          justify-content: space-between;
          position: relative;
          p{
            span{
              color: red;
              font-size: 16px;
              font-weight: bold;
            }
          }
          button{
            width: 120px;
            height: 36px;
            background-color: red;
            padding: 5px 15px;
            border-radius: 18px;
            position: absolute;
            top: 12px;
            right: 0;
          }
        }
      }
      
}


//____________________________
.goods{
    .Myheader{
        width: 100%;
        .listtop{
            height: 50px;
            text-align: center;
            position: relative;
            h3{
                width: 100%;
                height: 100%;
            }
            span{
                position: absolute;
                top: -17px;
                font-size: 40px;
                right: 12px;
            }
        }
        .Search{
            width: 100%;
            text-align: center;
            input{
                width: 90%;
                height: 30px;
                border-radius: 5px;
                outline: none;
                border: 1px solid #ccc;
                background-color: white;
                text-align: center;
            }
        }
    }
    
    
    // 列表
    .Mylist{
        width: 100%;
        margin-top: 20px;
        .Mylist_top{
            width: 90%;
            margin: auto;
            height: 60px;
            display: flex;
            justify-content: space-between;
        }
        .Mylist_content{
            width: 90%;
            margin: auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            .Mylist_content_one{
                width: 48%;
                background-color: aliceblue;
                border-radius: 5px;
                img{
                    width: 100%;
    
                }
                p{
                    padding: 0 8px;
                }
                .p1{
                    height: 48px;
                    font-size: 18px;
                    display: -webkit-box;  //声明为弹性盒子
                    overflow: hidden; //隐藏溢出的文本  
                    text-overflow:ellipsis;  //文本溢出显示省略号
                    word-wrap: break-word;  //超出换行
                    -moz-box-orient: vertical;   //从上到下自动排列子元素
                    -webkit-box-orient: vertical; 
                    -webkit-line-clamp:2;   //显示的行数
    
                }
                .p2{
                    width: 90px;
                    background-color: rgb(240, 145, 145);
                    color: red;
                    font-size: 14px;
                    margin-left: 10px;
                }
                .p3{
                    color: red;
                    font-size: 14px;
                    span{
                        font-size: 18px;
                    }
                }
                
            }
        }
    }
    
}

.detail{
    .toppic {
      width: 100%;
      height: 90%;
      position: relative;
    
      img {
        width: 100%;
        display: block;
      }
    
      .white {
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 120px;
        // height: 100px;
        border-top: 40px solid transparent;
        border-left: 0px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 50px solid #eee;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    
        p {
          position: absolute;
          bottom: 166px;
          margin-bottom: -200px;
          color: red;
          span{
            font-size: 17px;
          }
    
        }
      }
    }
    .collect{
      margin-top: 20px;
      box-sizing: border-box;
      padding: 3px;
      width: 60px;
      font-size: 12px;
      border: 1px solid red;
      font-weight: 600;
      color: red;
    }
    .brand{
      margin-top: 16px;
      // font-weight: 600;
      font-size: 14px;
      color: grey;
    }
    .name{
      margin-top: 20px;
      font-weight: 600;
      font-size: 18px;
    }
    .describe{
      color: grey;
      margin-top: 20px;
    }
    .footer{
      height: 60px;
      width: 100%;
      position: fixed;
      bottom: 0px;
      left: 0px;
      border-top: 1px solid #ccc;
      display: flex;
      justify-content: space-between;
      align-items: center;
      p{
        box-sizing: border-box;
        padding: 0px 10px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        .active{
            color: red;
            font-size: 20px;
        }
        .first,.second{
          width: 90px;
          height: 30px;
          color: #fff;
          border: none;
          outline: none;
          background-color: orange;
          border-radius: 30px 0px 0px 30px;
        }
        .second{
          background-color: red;
          border-radius: 0px 30px 30px 0px;
          margin-left: -26px;
        }
      }
    
    }
  }

  //收藏页
  
  .collection{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .collectionlist{
        margin-top: 20px;
        width: 100%;
        height: 600px;
        background-color: #ccc;
        padding-top: 10px;
        overflow: auto;
        .collectionlist_1{
            width: 95%;
            height: 20%;
            margin: auto;
            background-color: white;
            display: flex;
            margin-top: 10px;
            position: relative;
            .collectionlist_img{
                width: 30%;
                margin-right: 10px;
                img{
                    width: 100%;
                }
            }
            .collectionlist_img_right{
                flex: 1;
                .name{
                    font-size: 16px;
                    
                }
                p{
                    width: 75px;
                    background-color: rgb(151, 127, 127);
                    color: red;
                    font-size: 12px;
                    padding: 2px 5px;
                    margin-top: 10px;
                }
                .name_bottom{
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 10px;
                    div{
                        
                        color: red;
                        span{
                            font-size: 14px;
                            font-weight: bold;
                        }
                    }
                    .name_bottom_1{
                        width: 60px;
                        height: 20px;
                        text-align: center;
                        line-height: 20px;
                        font-size: 14px;
                        color: #ccc;
                        padding: 3px 7px;
                        border: solid 1px #ccc;
                        border-radius: 20px;
                        margin-right: 20px;
                        position: absolute;
                        right: 0px;
                        bottom: 10px;
                    }
                }

            }

        }
    }
  }
  //个人中心
  .mine{
    height: 100%;
    display: flex;
    flex-direction: column;

    .header{
        height: 90px;
        padding: 10px;
        display: flex;
        align-items:flex-end;
        padding: 20px;
        // line-height: 150px;
        img{
            width: 50px;
            height: 50px;
            border-radius: 50%;
        }
    }
    .main{
        flex: 1;
        background-color: #F7F7F7;
        // height: 100%;
        padding: 10px;
        overflow: auto;
        .main-top{
            display: flex;
            align-items: center;
            justify-content: space-around;
            border-radius: 5px;
            background-color: white;
            font-size: 700;
            height: 50px;
        }
        .main-dingdan{
            margin: 10px 0;
            background-color: white;
            border-radius: 15px;
            .titel{
                display: flex;
                padding:  10px;
                justify-content: space-between;
            }
            .btn{
                display: flex;
                justify-content: space-around;
                line-height: 50px;
            }
        }
        .huiyuan{
            background-color: white;
            font-size: 16px;
            font-weight: 600;
            padding: 10px 10px;
        }
        .main-bottom{
            background-color: white;
            border-radius: 10px;
            div{
                font-size: 16px;
                font-weight: 600;
                padding: 10px 10px;
            }
        }
    }
}


// 支付页面
.zhifu{
    width: 100%;
    height: 100%;
    .top{
        font-size: 14px;
        font-weight: bold;
    }
    .bottom{
        text-align: center;
        h1{
            text-align: center;
            line-height: 70px;
            padding: 10px 30px;
        }
        img{
            width: 90%;
            
        }
        p{
            color: red;
        }

    }
}